package es6;

interface Calculater{
	int add(int a, int b);
}
interface Math{
	int add(int a, int b);
	public default int sub(int a, int b){
		return a-b;
	}
	public static int mul(int a, int b){
		return a*b;
	}
}
public class ES6Test {
	public static void main(String[] args) {
		Calculater c = (int a, int b)->{
			return a+b;
		};
		
		Calculater c1 = (a, b)->{
			return a+b;
		};
		
		Calculater c2 = (a, b)->a+b;
		System.out.println(c2.add(4, 5));
	}
}
